package com.smx.enums;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName ResponseStatusEnum
 * @Description TODO
 * @Author moses
 * @Date 2021/5/9
 **/
@AllArgsConstructor
@NoArgsConstructor
public enum ResponseStatusEnum {
    SUCCESS("成功", 0), FAILURE("失败", -1);

    private String info;
    private int value;

    public String info() {
        return info;
    }

    public int value() {
        return value;
    }
}
